package com.kehongborui;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zhang peng yang ming
 * @CopyRight (C) http://www.csdn.com
 * @brief
 * @email 122162005@qq.com
 * @date 2018-09-19
 */
//@EnableAutoConfiguration
//@RestController
@SpringBootApplication
// 指定扫描包的路径
//@ComponentScan(basePackages = "com.kehongborui")
@ComponentScan(basePackages = {"com.kehongborui.portal", "com.kehongborui.data"})
public class PortalApplication {
    public static void main(String[] args) {
        SpringApplication.run(PortalApplication.class, args);
    }
}
